package com.zzj.model.dto.comment;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
@Data
public class CommentReplyCreateDTO {
    @NotNull(message = "请输入根评论Id")
    private Integer rootId;
    @NotEmpty(message = "请输入评论人用户名")
    private String fromUsername;
    @NotEmpty(message = "请输入评论人姓名")
    private String fromName;
    @NotEmpty(message = "请输入评论人头像")
    private String fromAvatar;
    @NotEmpty(message = "请输入被回复人用户名")
    private String toUsername;
    @NotEmpty(message = "请输入被回复人姓名")
    private String toName;
    @NotEmpty(message = "请输入被回复人头像")
    private String toAvatar;
    @NotEmpty(message = "请输入评论内容")
    private String content;
}
